CDMA/OFDM linearity compliant wireless communication amplifier

ABSTRACT

A digital pre-distortion system which can provide the flexibility to model the highly non-linear distortion associated with High Efficiency RF Power Amplifiers while through a novel implementation of a least squares estimation process allows an implementation well suited for an FPGA application where limited resources and in particular memory resources are available.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit of U.S. Provisional Application No.61/113,389, filed Nov. 11, 2008, which is hereby incorporated byreference in its entirety.

This application is a continuation of U.S. patent applicant Ser. No.13/676,611, filed on Nov. 14, 2012, which is a continuation of U.S.patent application Ser. No. 12/831,596, filed Jul. 7, 2010, now U.S.Pat. No. 8,340,603, issued on Dec. 25, 2012, which is a continuation ofU.S. patent application Ser. No. 12/616,467, filed Nov. 11, 2009, nowU.S. Pat. No. 8,030,997, issued on Oct. 4, 2011, each of which arehereby incorporated by reference in their entireties.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention relates broadly to the field of RF transmitters forWireless Communications applications and in particular the issuesassociated with RF power amplifier linearization.

2. Description of Related Art

As Wireless Communications standards evolve to support greater spectralefficiency and bandwidth they make use of advanced modulation approachessuch as CDMA and OFDM which have high Peak to Average power ratios,typically in the range of 10 dB, i.e., the peak RF power is 10 dBgreater than the average power. This requires the transmitter RF poweramplifier to have sufficient peak power capability to support the highpower peaks while operating on average at much lower power levels.

RF power amplifiers have a non-linear RF gain and phase characteristicverses RF output power which becomes increasingly non-linear as the RFoutput power approaches the PA maximum saturated output power (Psat).Power amplifier non-linearity creates distortion in the transmitteroutput which results in degraded signal quality and spectral re-growth.Wireless communications standards typically define transmitter spectralemission requirements and metrics of signal quality such as EVM orequivalent. Power amplifier non-linearity may result in the transmitterfailing to meet these standard defined spectral emissions or signalquality requirements. Two possible approaches may resolve thenon-linearity problem: 1) Operate the RF power amplifier at sufficientlylow average RF power relative to the PA saturated power capability toensure the PA is exercised over a range where the non-linearity isacceptable. 2) Use some form of linearization approach to correct thepower amplifier non-linearity. The disadvantages of the first approachinclude poor efficiency; class AB power amplifier efficiency degrades asthe average output power is backed-off further from Psat, and theadditional cost incurred in providing a power amplifier with higher peakpower capability. This invention details a new approach to poweramplifier linearization that incorporates pre-distortion.

Pre-distortion corrects the power amplifier non-linearity by applying anon-linear function (pre-distorting) the input signal to the poweramplifier such that the cascade of the pre-distortion non-linearfunction and the power amplifier non-linearity has an overall linearcharacteristic, or at least is closer to linear than the original poweramplifier characteristic. The goal in a wireless communications systemis to achieve sufficient linearity to comply with the standard definedspectral mask and signal quality metrics while operating the PA at alower back-off level than could otherwise be achieved, thereforeoptimizing the transmitter efficiency and peak power capability.

The new approach proposed is based on digital pre-distortion meaning thenon-linear pre-distortion function is applied in the digital domain thenapplied to a digital to analogue converter and up-converted to RF andthen applied to the power amplifier input. The optimisation of thepre-distortion function is performed by sampling the power amplifieroutput, down-converting and applying to an analogue to digitalconverter. This digital signal is then further processed by apre-distorter estimator in order to optimise the pre-distorternon-linear function to minimize the power amplifier distortion.

In broad terms digital pre-distortion approaches can be split into twoclasses, memory-less and those which compensate for memory effects. RFpower amplifiers, and particularly when operated with wide bandwidthsignals, exhibit a non-linear distortion characteristic which is nottime invariant, but rather is dependent upon the history of the previousoutput power. Pre-distortion techniques which seek to model the non timeinvariant nature of the power amplifier distortion are classed as memorymethods, those which do not as memory-less methods.

In order to improve power amplifier efficiency it is desirable to adoptpower amplifier architectures such as 2-way and 3-way Doherty. Thesepower amplifier architectures may offer significantly higher poweramplifier efficiency, but experimentally they may exhibit higher levelsof non-linear distortion compared to class AB architectures, and maypresent more significant memory effects when supporting instantaneousbandwidth requirements commonly required by modern wirelesscommunications standards. Commercial factors for improving poweramplifier efficiency include a strong desire to improve systemefficiency to both minimize the end users energy costs and reducethermal dissipation to allow for convection cooling deployment scenariosas opposed to forced air cooling, again saving cost. Therefore it ishighly desirable to implement the invention disclosed herein of apre-distortion system which corrects for memory effects in order tosupport the use of high efficiency power amplifier architectures such asDoherty.

Digital pre-distortion approaches including those which address memoryeffects can be split into techniques based on a polynomial pre-distortermodel or approaches using table based approaches.

U.S. Pat. No. 6,903,604 describes a good example of a polynomial basedapproach which also addresses memory effects. Typically with highefficiency Doherty amplifiers, as discussed previously, they exhibit ahighly non-linear response with discontinuities apparent over a widedynamic range which to model accurately would require a relatively highorder polynomial. The computational complexity and therefore timerequired in a typical commercial application to optimise the polynomialmodel is adversely affected as polynomial order is increased. It is alsowidely understood that numerical stability is degraded with increasedpolynomial order. An alternative approach based on a multi-dimensionaltable structure is detailed in U.S. Pat. No. 6,798,843. This approachavoids the issues associated with the higher order polynomials butrequires significant computational resource.

SUMMARY OF THE INVENTION

At least for commercial reasons it is highly desirable to implement allof the digital aspects of a pre-distortion function includingapplication of the pre-distorter and optimization of the pre-distortercoefficients entirety within a Field-Programmable Gate Array (FPGA) orequivalent technology. In addition, it is desirable that the FPGAresource requirements should be minimised to optimise the implementationcost.

The invention includes a digital pre-distortion correction system whichcan be optimised for efficient implementation within an FPGA device suchas the Xilinx Virtex-5 FPGA family. The digital pre-distortioncorrection system is typically incorporated within a wirelesscommunications RF transmitter in order to correct the non-lineardistortion associated with the RF power amplifier.

A wireless communications network, such as a network that uses CDMAmodulation, may include a variety of wireless communication points (e.g.handsets, RF transmitters, base station receivers, and the like). Whenembodied in association with a RF transmitter in a wireless network, theinvention may facilitate communication among handsets within thenetwork.

The digital pre-distortion system may include a pre-distorter blockwhich applies a non-linear function to the signal desired fortransmission. The signal desired for transmission is assumed to be in acomplex digital baseband form and is created by an appropriate modem.The pre-distorter block may include a non-linear FIR filter and as suchis implemented by creating a number of time delayed versions of theinput signal each with distinct delays and applying a non-linearfunction independently to each time delayed version in addition to theoriginal input signal. The non-linear function applied to the inputsignal and the delayed replica's is implemented in the form of a look uptable of complex coefficients indexed by the magnitude of the inputsignal to the individual look up table. The output of the pre-distortionblock is formed by summing together the outputs of the non-linearfunctions applied to the original and time delayed input signals. Thepre-distorter block described is capable of modelling a time variantnon-linear function and hence is capable of addressing power amplifiermemory effects

The output of the pre-distortion block is optionally applied to a QMCblock. The block may be required if the RF up-converter includes adirect complex to RF up-conversion. The QMC block applies an independentgain scaling to the real and imaginary data. In addition the blockallows for a portion of the real data to be summed into the imaginarydata and also for a portion of the imaginary data to be summed into thereal data. With appropriate scaling values, this structure cancompensate for the real and imaginary gain imbalance and real andimaginary phase error found in practical direct complex to RFup-converters. These effects if uncompensated have a negative impact onthe digital pre-distortion performance and in general to the transmittersignal quality.

The output of the QMC block is processed by a digital to analogueconverter and converted to an RF signal by the RF up-converter block.The RF up-converter block may take a number of forms including a directcomplex to RF up-conversion or may be an IF based up-conversion. In thecase of IF based up-conversion a digital multiplication stage may berequired prior to the digital to analogue conversion to convert thecomplex digital stream to a real digital stream at an appropriateintermediate frequency.

The RF signal from the RF up-converter is applied to the RF poweramplifier. The output of the power amplifier is passed to a couplerwhich allows a small portion of the power amplifier output to bemonitored for the purposes of optimising the digital pre-distortionsystem. The coupled output of the power amplifier is processed to an RFdown-converter which either converts the RF signal to a complex basebandform or to a sufficiently low intermediate frequency to allow samplingwith an analogue to digital converter. The feedback signal is processedby either a complex or real ADC to create a digital feedback signal.

The digital feedback signal is passed to a capture block. The capturesystem monitors a number of parameters of the transmit signal in orderto identify portions of the feedback signal which are most relevant foroptimization of the pre-distortion system. When the capture systemidentifies a relevant portion of the transmit signal it stores thecorresponding feedback signal and pre-distorter output signal within amemory for processing by the estimation block. In order to limit thedemand on deployment resources, such as FPGA memory requirements, thecapture system is configured to limit the number of samples to bestored; in a typical implementation this limitation would be 1K complexsamples per signal. Such a small portion of the feedback signal mayprovide insufficient information when viewed by itself in terms of thepower amplifier characteristics relevant to pre-distortion optimization,and in particular for a memory based pre-distortion solution where thepower amplifier performance verses time is not invariant.

The capture block alerts the estimation block when it has a set ofsamples for processing. A task for the estimator block is to prepare thesignals by compensating for the time delay, gain and phase change of thefeedback signal when compared to the output of the pre-distortion block.

The estimation block processes the feedback signal as well as the outputof the pre-distortion block in order to optimise the non-linearfunctions within the pre-distorter block and parameters of the QMCblock. These two signals are sorted into a number of magnitude bands,typically in the range of 16-32 bands. The estimation process optimizesa simplified pre-distorter model which shares the same structure as thereal time pre-distorter but where as the real-time pre-distorter maycontain 128-256 distinct magnitude bands the simplified model considersa much reduced model with typically 16-32 magnitude bands which will bereferred to as the estimation bands. Greater or fewer magnitude bandsmaybe used in the estimation model and in the pre-distorter model. Theestimation process may include optimizing the complex gain valuesassociated with each of the estimation bands in order to find theoptimum complex coefficients in the least squares sense. A linearinterpolation approach is then used to map the reduced number ofestimation band coefficients on to the full range of magnitude bandsdefined in the real time look-up table (LUT). This approach limits thenumber of coefficients which are required to be optimised in the leastsquares sense to a number which is practical for optimization usinglimiting processor resources, such as a soft core processor within anFPGA, e.g. 16-32 bands require optimization as opposed to the 128-256bands typically required in the real time pre-distorter. In additionthis direct approach to the calculation of the pre-distortion functionis ideally suited to modelling power amplifiers with highly non-linearcharacteristics as an arbitrary transfer function may be modelled withinthe constraints of the number of estimation bands.

Because of the limited number of feedback samples, typically 1 k, whichcan be provided by the capture block (e.g. for limiting FPGA resourcerequirements) it may be required for the estimation block to processmultiple individual captures to gather sufficient characterisation dataof the power amplifier. A method has been developed to perform anoptimization in the least squares sense which allows each set ofcaptures to be individually processed to a form an intermediate resultin the form of a matrix. This intermediate matrix is amended each time aset of captures is processed allowing the final least squares estimationto consider a large dataset but crucially the size of the intermediatematrix remains constant regardless of how may individual captures areprocessed. Therefore the estimation block can process numerousindividual captures thereby optimizing the pre-distorter coefficients inthe least squares sense based on a very large dataset but while stillrequiring limited memory resources which, for an FPGA implementation,may be thought of in terms of the working memory required by theembedded soft core processor.

A management process runs in the embedded soft core processor which mayinteract with an external system control processor and control andsequence operation of the components which make up the pre-distortionand QMC systems. The process can operate in two different modes, thefirst allowing the external system control processor to requestindividual functions from the digital pre-distortion (DPD) system, andthe second being an autonomous tracking mode where control loop monitorsthe system and performs QMC and pre-distorter updates as necessary tomaintain optimum performance.

In summary the invention proposes a digital pre-distortion system whichcan provide the flexibility to model the highly non-linear distortionassociated with High Efficiency RF Power Amplifiers while through anovel implementation of a least squares estimation process allows animplementation well suited for low cost, low power, small and efficientdeployment in a variety of computing environments, such as an FPGAapplication where limited resources and in particular memory resourcesare available.

In embodiments, methods and systems for adjusting the distortion of asignal for input to a radio frequency amplifier by processing the signalmay be provided. The pre-distortion facility may contain one or morelookup tables of coefficients. The coefficients may be determined bylinear interpolation from a subset of coefficients that may be selectedbased on the signal magnitude.

In embodiments, the pre-distortion facility may include a non-linearcomplex FIR filter. The coefficients of the non-linear complex FIRfilter may be contained in the one or more lookup tables. In addition, anon-linear digital pre-distortion facility may be based on dynamicallyadjusted lookup tables.

In embodiments, the distortion adjustment may include applying each ofone or more time-delayed samples of the signal to a lookup table toproduce time-delayed results and summing the one or more time-delayedresults. In addition, the distortion adjustment may include correctingamplifier magnitude non-linearity or phase non-linearity.

In embodiments, one or more coefficients may be determined using a leastsquares optimized model of time varying non-linearity characteristics ofthe amplifier or by amplifier distortion values captured at differentamplifier power levels.

In embodiments, methods and systems for adjusting the distortion of asignal for input to a radio frequency amplifier may be provided. Theadjustment of distortion may include processing the signal through apre-distortion facility that may contain one or more lookup tables ofcoefficients that may be calculated from a subset of coefficientsobtained by sampling a non-linearity characteristic of the amplifier.

In embodiments, a preferred subset of coefficients may be determinedbased on the signal magnitude input to the amplifier. The coefficientsfrom the plurality of lookup tables may be calculated based on theirinterdependence.

In embodiments, the pre-distortion facility may include a non-linearcomplex FIR filter whose coefficients may be contained in one or morelookup tables.

In embodiments, the distortion adjustment may include applying each ofthe one or more time-delayed samples of the signal to a correspondingone or more lookup tables to produce one or more time-delayed resultsand summing these results. In addition, the digital pre-distortionfacility may introduce non-linear characteristics into the signal.Furthermore, distortion adjustment may include correcting amplifiermagnitude non-linearity or phase non-linearity.

In embodiments, the one or more coefficients may be determined using aleast squares optimized model of time varying non-linearitycharacteristics of the amplifier. Further, the two time-delayed samplesmay differ from each other by at least two sample durations.

In embodiments, the sample coefficients may be derived from amplifierdistortion values captured at different amplifier power levels. Thecoefficients may be piecewise linearly interpolated from the subset ofcoefficients.

In embodiments, methods and systems for amplifying a radio frequencysignal may be provided. The radio frequency signal may be digitallypre-distorted to compensate for amplifier non-linearity characteristicsbased on coefficients. The coefficients may be linearly interpolatedfrom a subset of sample coefficients that may be selected based on thesignal magnitude.

In embodiments, the signal may be digitally pre-distorted using apre-distortion facility that may contain one or more lookup tablescontaining the coefficients. The pre-distortion facility may include anon-linear complex FIR filter. The coefficients of the non-linearcomplex FIR filter may be contained in the one or more lookup tables. Inaddition, the digital pre-distortion facility may introduce non-linearcharacteristics into the signal.

In embodiments, the signal may digitally be pre-distorted by applying anumber of time-delayed samples of the signal to a lookup table toproduce time-delayed results and further summing these time-delayedresults.

In embodiments, some of the coefficients may be determined using a leastsquares optimized model of time varying amplifier non-linearitycharacteristics or derived from amplifier distortion values captured atdifferent amplifier power levels.

In embodiments, the amplifier non-linearity characteristics may includeamplifier magnitude non-linearity or phase non-linearity.

In embodiments, methods and systems for digitally estimating radiofrequency amplifier non-linearity characteristics may be provided. Theestimation of non-linearity may be determined by using one or moremagnitude differentiated amplifier samples to form a complex matrixequation. The matrix equation may produce a subset of filtercoefficients suitable for interpolation that may provide a model of theinverse of the amplifier non-linearity.

In embodiments, the amplifier samples may include input signal andoutput signal samples.

In embodiments, some of the coefficients may be based on a least squaresoptimized model of time varying amplifier non-linearity characteristicsor may be derived from amplifier distortion values captured at differentamplifier power levels.

In embodiments, the model may include coefficients that may be piecewiselinearly interpolated from the subset of coefficients. Furthermore, themodel may be configured to correct for amplifier magnitude non-linearityor phase non-linearity.

In embodiments, the model may include coefficients that are matched tolevels of corresponding bins of sample coefficients.

In embodiments, the matrix of the model may be configured as a squarematrix to facilitate convenient processing of mathematical operations.

In embodiments, methods and systems for digitally estimating a radiofrequency amplifier non-linearity may be provided. The estimation ofnon-linearly may be determined using one or more time differentiatedamplifier samples to form a complex matrix equation. The matrix equationmay produce a subset of filter coefficients suitable for interpolationthat may provide a model of the inverse of the amplifier non-linearity.

In embodiments, the amplifier samples may include input signal andoutput signal samples.

In embodiments, some of the coefficients may be based on a least squaresoptimized model of time varying amplifier non-linearity characteristicsor may be derived from amplifier distortion values captured at differentamplifier power levels.

In embodiments, the model may include coefficients that may be piecewiselinearly interpolated from the subset of coefficients. Furthermore, themodel may be configured to correct for amplifier magnitude non-linearityor phase non-linearity.

In embodiments, the model may include coefficients that are matched tolevels of corresponding bins of sample coefficients.

In embodiments, the matrix of the model may be configured as a squarematrix to facilitate convenient processing of mathematical operations.

In embodiments, methods and systems for linearly propagating a wirelesscommunication signal using real-time corrective signal pre-distortionmay be provided. The real-time corrective signal pre-distortion may bebased on coefficients that may be linearly interpolated from a subset ofcoefficients. The subset of coefficients may be derived from amplifierdistortion values captured at different amplifier power levels.

In embodiments, the pre-distortion may be based on a least-squaresoptimized model of time varying amplifier non-linearity characteristics.

In embodiments, the linear propagation may include linearly amplifyingthe wireless communication signal.

In embodiments, the peak to average power ratio requirement for thewireless communication signal may be greater than zero. In addition, thepeak to average power ratio requirement may be greater than 10 dB.

In embodiments, the model may include coefficients that may be matchedto levels of corresponding bins of sample coefficients. In addition, thecoefficients may be piecewise linearly interpolated from the subset ofcoefficients.

In embodiments, the amplifier distortion values may represent amplifierpower non-linearity or phase non-linearity.

In embodiments, methods and systems for producing a wireless standardcompliant signal may be provided. The wireless standard compliant signalmay be provided by digitally applying distortion correction coefficientsthat may be derived from amplifier distortion values. The amplifierdistortion values may be captured at different amplifier power levels toproduce an amplifier distortion corrected signal. The distortioncorrection signal may be converted into radio frequency. In addition, anamplifier may be utilized for amplifying the corrected signal.

In embodiments, applying the distortion correction coefficients mayinclude processing an input wireless communication signal with anon-linear complex FIR filter that may contain one or more lookup tablesthat contain the coefficients. The complex FIR filter may implement aleast squares optimized model of time varying radio frequency amplifiernon-linearity characteristics. Furthermore, the distortion correctioncoefficients may be piecewise linearly interpolated.

In embodiments, the wireless standard compliant signal may comply withlinearity requirements of one or more standards selected from a listcontaining WCDMA, IS-95, WiMAX 802.16d, WiMAX 802.16e, LTE,Multi-Carrier GSM, Multi-Carrier GSM-EDGE and the like.

In embodiments, the amplifier distortion values may include amplifiermagnitude non-linearity or phase non-linearity.

In embodiments, methods and systems may include a pre-distorter forintroducing distortion into the wireless signal for producing wirelesssignals compliant with wireless linearity standards. The pre-distortermay introduce distortion signal into an input signal of an amplifierbased on coefficients that may be linearly interpolated from a subset ofcoefficients. These coefficients may be based on a least squaresoptimized model of time varying non-linearity characteristics derivedfrom samples of the amplifier output for producing a wireless signalthat may be compliant with one or more wireless standard linearityrequirements.

In embodiments, the model may include coefficients that may be matchedto levels of corresponding bins of sample coefficients.

In embodiments, the pre-distorter may include a non-linear complex FIRfilter that may contain one or more lookup tables. These lookup tablesmay contain the coefficients. In embodiments, the coefficients may bepiecewise linearly interpolated.

In embodiments, the produced wireless signal may be compliant withlinearity requirements of at least one or more standards selected from alist containing WCDMA, IS-95, WiMAX 802.16d, WiMAX 802.16e, LTE,Multi-Carrier GSM and Multi-Carrier GSM-EDGE and the like.

In embodiments, the non-linearity characteristics may include amplifiermagnitude non-linearity or phase non-linearity.

In embodiments, methods and systems for propagating wireless signals ina distributed wireless communication network may be provided. Inaccordance with the present invention, one or more linear signalamplifiers may be provided for facilitating communication among one ormore wireless handsets. The one or more signal amplifiers may propagatewireless signals among the one or more wireless handsets using anamplifier pre-distortion. The amplifier pre-distortion may be based oncoefficients that may be linearly interpolated from a subset ofcoefficients that may be based on the signal magnitude. The coefficientsmay be piecewise linearly interpolated.

In embodiments, the amplifier pre-distortion may correct amplifier powernon-linearity or phase non-linearity.

In embodiments, methods and systems for propagating wireless signals ina distributed wireless communication network having one or more linearsignal amplifiers for facilitating communication among one or morewireless handsets may be provided. In accordance with the presentinvention, each of the linear amplifiers may propagate wireless signalsamong the one or more handsets using a model of the amplifiernon-linearity. The amplifier non-linearity model may be derived from acomplex matrix equation formed from a plurality of magnitudedifferentiated amplifier samples.

In embodiments, the model of the amplifier non-linearity may includecoefficients that may be matched to levels of corresponding bins ofsample coefficients. In embodiments, the model of the amplifiernon-linearity may include amplifier power non-linearity or phasenon-linearity. In embodiments, the matrix of the model of the amplifiernon-linearity may be configured as a square matrix to facilitateconvenient processing of mathematical operations.

In embodiments, the complex matrix equation may produce a subset offilter coefficients that may be suitable for interpolation. Further,these coefficients may be piecewise linearly interpolated.

In embodiments, methods and systems for facilitating communication amongone or more wireless handsets using one or more linear signal amplifiersmay be provided. The one or more linear amplifiers may propagatewireless signals among the one or more handsets using one or morecoefficients that may be calculated from a subset of coefficients. Thesubset of coefficients may be based on the signal magnitude. Inembodiments, the coefficients may be determined using a least squaresoptimized model of time varying non-linearity characteristics of theamplifier.

In embodiments, the one or more linear signal amplifiers may include anon-linear complex FIR filter based on the plurality of coefficients.The non-linear complex FIR filter may pre-distort the wireless signalsto correct distortion introduced by one or more of the linear signalamplifiers. Further, the coefficients may be contained in one or morelookup tables.

In embodiments, methods and systems for introducing distortion into aninput signal of an amplifier may be provided. In embodiments, apre-distorter may introduce distortion into the input signal of theamplifier based on coefficients that may be linearly interpolated from asubset of coefficients. The coefficients may be based on a least squaresoptimized model of time varying non-linearity characteristics derivedfrom samples of the amplifier output.

In embodiments, methods and systems for amplifier non-linearitycompensation may be provided. In embodiments, a capture facility fordigitally capturing signal samples associated with an amplifier may beprovided. Similarly, an estimator facility for estimating the amplifiernon-linearity may be provided. The estimation may be performed byseparating a portion of the digitally captured signal samples intomagnitude differentiated groups to form a complex matrix equation. Thematrix equation may produce a subset of coefficients that may define adistortion compensation model. In embodiments, the signal samples mayinclude one or more input signal samples, pre-distorter output samples,and amplifier output samples.

In embodiments, a pre-distorter facility for introducing non-linearityinto an input signal of the amplifier based on the distortioncompensation model may be provided. In embodiments, the compensationmodel may include coefficients that may be matched to levels ofcorresponding bins of sample coefficients. In embodiments, one or morecoefficients may be least squares optimized.

In embodiments, the distortion compensation model may be embodied in oneor more lookup tables that may include coefficients that may beinterpolated from the subset of coefficients. In embodiments, thedistortion compensation model may comprise a least squares estimation ofa simplified model of linearly interpolated coefficients. In otherembodiments, the matrix of the model may be configured as a squarematrix to facilitate convenient processing of mathematical operations.

In another aspect of the invention, methods and systems for radiofrequency amplification may be provided that may include distortionadjusting a signal for radio frequency amplification by processing thesignal through a pre-distortion facility that contains a plurality oflookup tables of coefficients that are calculated from a subset ofcoefficients that are based on the signal magnitude.

The distortion adjusted signal may be further processed with a parasiticdistortion correction facility. The parasitic distortion correctionfacility may use distortion correction coefficients that may be derivedfrom a complex matrix equation formed from one or more amplifier signalsamples.

In embodiments, the amplifier signal samples may include parasiticdistortion corrected signal samples and one or more amplifier outputsignals and distortion adjusted signal samples. In other embodiments,the matrix of the model may be configured as a square matrix tofacilitate convenient processing of mathematical operations.

In embodiments, methods and systems for digital compensation forparasitic distortion resulting from direct baseband to RF modulation maybe provided. In embodiments, a direct baseband may be processed to RFmodulated signal using a parasitic distortion correction facility. Theparasitic distortion correction facility may use distortion correctioncoefficients that may be derived from a complex matrix equation formedfrom one or more modulator output samples. In embodiments, the modularoutput samples may include real and imaginary parts. In otherembodiments, the coefficients may be used for parasitic distortioncorrection functions. In addition, the distortion correctioncoefficients may be least squares optimized.

In embodiments, the distortion correction functions may includemultiplying, cross-multiplying, adding, and some other types offunctions. In yet other embodiment, the matrix of the model may beconfigured as a square matrix to facilitate convenient processing ofmathematical operations.

In embodiments, methods and systems for time-alignment of two signalsused for digital pre-distortion may be provided. In embodiments, a timevariance between two signals captured by a capture block of an amplifierdistortion adjustment facility may be calculated. The calculation maydetermine accuracy of alignment of the two signals.

Further, at least one of the two signals may be digitally time-shiftedrelative to other signal to minimize the variance. In embodiments, thedigital time-shifting may include digitally time shifting interpolatedversions of the two signals.

In embodiments, methods and systems for estimating a model of digitalpre-distortion to compensate for amplifier non-linearity may beprovided. A set of amplifier output samples may include one or moresubsets of output samples. Each subset may include a subset peak valuethat may digitally capture a new subset of amplifier output samples whena sample includes a peak value larger than a peak value in the set.Further, each subset may use a processor to determine one subset to bereplaced by the new subset and may replace the determined subset withthe new subset.

In embodiments, methods and systems for incremental update of thepre-distortion model coefficient may be provided. A set of one or moreamplifier distortion correction coefficients may be analyzed fordetermining a portion of the coefficients to be updated. Further,coefficients for the update may be generated using a complex matrixequation that may produce a subset of filter coefficients suitable forinterpolation to provide a model of the inverse of amplifiernon-linearity. Subsequently the portion of coefficients may be updated.

In embodiment, the determination of a portion of the coefficients to beupdated may be based on a magnitude of an signal for processing throughthe model or a presence of coefficients suitable for distortioncorrecting an input signal based on a magnitude of the input signal.

In embodiments, updating the portion of coefficients may includelinearly interpolating the subset of filter coefficients to produce theportion and storing the portion in a lookup table that may contain theset of amplifier distortion correction coefficients.

In embodiments, methods and systems for using a processor to generate adistortion adjustment model may be provided. The distortion adjustmentmodel may determine a difference between a signal input to the model anda signal output from the model. The distortion adjustment model may beused by a pre-distortion facility for adjusting distortion of a radiofrequency signal. The distortion adjustment model may be used byoptimizing a portion of the model based on the merit of accuracy.

In embodiments, optimization may include updating a portion of one ormore lookup table.

In embodiments, the processor may calculate a merit of accuracy of acandidate distortion adjustment model and updating the distortionadjustment model.

In embodiments, the distortion adjustment model may be updated based ona comparison of the merit of accuracy of the candidate distortionadjustment model with the merit of accuracy of the distortion adjustmentmodel. The updating may occur if the comparison indicates improvedpre-distortion facility accuracy if the update occurs.

In embodiments, the model may be based on a piecewise linearinterpolation of the representative coefficients, fixed interpolation ofthe representative coefficients or some other type of interpolationtechniques. The model may be updated based on a subset of capturedsamples of the amplifier output. The samples of the amplifier output maybe captured based on an assessment of an input signal. Further, themodel may be updated based on a subset of captured samples of thepre-distorter output. The samples of the pre-distorter output may becaptured based on an assessment of an input signal.

In embodiments, a non-linear digital pre-distortion facility may bebased on dynamically adjusted lookup tables.

In embodiments, the adjusted signal may be generated by a digitalpre-distortion facility. The digital pre-distortion facility mayintroduce non-linear characteristics into an input signal of theamplifier. In addition, the digital pre-distortion facility may includea FIR filter or a least-squares optimization of a model of the amplifierdistortion characteristics.

In embodiments, the amplifier distortion correction may be based onaspects of the linearity performance of the amplifier. The amplifierdistortion correction may be a signal representing the amplifierdistortion. Further, the amplifier distortion correction may be byoffsetting gain non-linearity or offsetting phase non-linearity.

In embodiments, system and methods of the present invention may includea pre distortion block containing non-linear complex FIR filterstructure. The FIR structure may include one or more delay taps. Thefilter coefficients of these delay taps may be dependent on themagnitude or power of the input samples with the objective of applying anon-linear model of the inverse power amplifier response.

In embodiments, the delay terms of the pre distortion block may benon-uniform, or may remain unused by populating with zero coefficientswhen they are not required. This may facilitate tailoring thepre-distortion response to a wide variety of power amplifiercharacteristics.

In embodiments, a capture block for capturing two simultaneous sets ofreal or complex samples for analysis based on a trigger may be provided.The trigger may be formed, when sample magnitude exceeds a programmablethreshold.

In embodiments, an estimator block may be provided. The estimator blockmay modify and analyze the samples from the capture block by placingthem into one or more estimation bands based on the magnitude or powerof that sample. The estimator block may populate one or moremulti-dimensional array structures with accumulations of thesestructures to form a complex matrix equation. The matrix equation mayyield complex multiplying coefficients when solved using conventionalmethods. The multiplying coefficients may be interpolated to generatethe coefficients used in the pre-distorter block.

In embodiments, the estimator block may calculate an estimate of theamplifier response. The estimate may be calculated by placing thesamples from signals taken before and after the amplifier intoestimation bands based on their magnitude or power. These samples may beaccumulated into locations in array structures based on their bandnumber to form a vector equation. The vector equation may be solved byconventional methods to calculate a complex multiplying coefficient foreach band which can be applied to all samples which would fall into thepower band with the intention of creating the opposite gain and phasechange that the sample will experience in the amplifier.

In embodiments, a system for digitally compensating for the parasiticdistortion effects in a transmitter design may be provided. Theparasitic distortion effects may be introduced by the use of directbaseband to RF modulator in a transmitter design. The system may includea QMC block, a capture block, and an estimator block. The QMC block maycontain multiplier, cross-multiplier and adder functions. Thesefunctions may operate on real and imaginary parts of the transmit signalto compensate for distortion introduced by a direct baseband to RFmodulator. The capture block may be capable of capturing twosimultaneous sets of real or complex samples for analysis based on atrigger. The trigger may be formed, when a sample magnitude may exceed aprogrammable threshold.

In embodiments, a method to use the estimation method detailed in 6 maybe provided. The method may include a reduced number of estimation bandsto minimize the memory requirements when implemented in a processorsystem by interpolating the discrete calculated coefficients for eachestimation band over a linear range of magnitude or power values.

Embodiments may include an estimator as set out herein. In theestimator, both the sample being analyzed and previous sample values maybe placed into estimation bands based on their magnitude or power, andthen accumulated in multi-dimensional array structures based on theirband number to form a matrix equation. The matrix equation may be solvedto give complex multiplying coefficients for the samples and previoussample values which would fall into each band based on their magnitudeor power.

In embodiments, an autonomous control loop may be provided. The controlloop may control the updating of the models when necessary.

The estimator block may modify and analyze the samples from the captureblock by separating the real and imaginary parts and accumulating theminto one or more multidimensional array structures to form a complexmatrix equation. The matrix equation may yield real values for themultiplying, cross-multiplying and additive coefficients used in the QMCblock when solved by conventional methods.

In embodiments, a method of calculating the necessary time shift toalign two signals for use in a digital pre-distortion system may beprovided. The accuracy of alignment may be measured by calculating thevariance between the two signals and shifting the signals orinterpolated versions of the signals relative to each other until aminimum value is found.

Embodiments may include an estimator as set out above. In the estimator,the samples may not be placed into a single estimation band based ontheir magnitude or power, but may be distributed over two adjacentestimation bands by multiplication by a value proportional to theirmagnitude or power relative to the magnitude or power values which formthe bounds of each band, with the objective of improving the accuracywhen the distribution of samples in a band is skewed to either the upperor lower magnitude or power bound.

In embodiments, an autonomous control loop may be provided. The controlloop may control the updating of the models when necessary.

In embodiments, a method for capturing a number of subsets of samples inthe buffer may be provided. Each set may contain a sample peak largerthan the last sample. This may increase the density of larger magnitudesamples that may be used for estimation of a digital pre-distortionsystem.

In embodiments, averaging of newly calculated coefficients with existingcoefficients may be provided. This method may increase the overallaveraging of the system and increase the accuracy of the model.

In embodiments, an autonomous control loop may be provided. The controlloop may control the updating of the models when necessary.

In embodiments, a method of updating only a selected set of coefficientsin the model may be provided. The coefficient may include those forwhich the existing model has inaccurate or non-existent values. Thismethod may improve the accuracy or range of the model.

In embodiments, a method of calibrating the required gain in the RFreceiver path may be provided. The calibration may include comparing thepower in the transmit signal to the DAC and the feedback signal from theADC and adjusting the gain such that there may be a fixed gainrelationship between these points. The method may preserve good signalquality for the feedback signal.

In embodiments, a method of monitoring the gain in the RF feedback pathmay be provided. The gain may indicate changes in ambient temperaturethat may affect the amplifier or modulator response and necessitate thatthe system updates the models.

In embodiments, a method of calculating the error between the transmitsignal and the feedback signal when passed through the calculated modelmay be provided. A figure of merit may be generated for the accuracy ofthe model, which can be used to indicate when the models may need to beupdated.

In embodiments, a method of storing the maximum magnitude or power ofthe transmit signal may be provided. The method may immediately makeapparent when the signal exceeds the range of values over which themodel is valid. The method may be used to indicate when the model mayneed to be extended or updated.

In embodiments, an autonomous control loop may be provided. The controlloop may control the updating of the models when necessary.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention and the following detailed description of certainembodiments thereof may be understood by reference to the followingfigures:

FIG. 1 depicts a block diagram of an embodiment of the invention;

FIG. 2 depicts a block diagram of an embodiment of a pre-distorterfacility;

FIG. 3 depicts a look-up-table embodiment of the invention;

FIG. 4 depicts a block diagram of an up-conversion distortioncompensation facility;

FIG. 5 depicts a block diagram of a capture facility;

FIG. 6 depicts an estimation facility;

FIG. 7 depicts a block diagram of a simplified embodiment of theinvention;

FIG. 8 depicts a flow diagram of an embodiment of control operation ofthe invention;

FIG. 9 depicts a flow diagram of a generalized time alignment functionof the invention;

FIG. 10 depicts a flow diagram of a QMC time alignment function of theinvention;

FIG. 11 depicts a flow diagram of a pre-distorter time alignmentfunction of the invention;

FIG. 12 depicts a flow diagram of a tracking mode function of theinvention;

FIG. 13 depicts a flow diagram of a model update function of theinvention;

FIG. 14 depicts a data plot of a power amplifier instantaneous gainfunction;

FIG. 15 depicts a plot of sampled data from a prototype embodiment ofthe invention; and

FIG. 16 depicts a block diagram of a mobile network application of theinvention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring to FIG. 1, which depicts a block diagram of an embodiment ofthe invention, a pre-distorter 101 may receive distortion adjustmentdata from an estimator 110 that may estimate distortion correction basedon data captured by a capture block 109. In addition, the invention maybe controlled, such as through system control 111. The capture block 109may capture data from the pre-distorter 101 output, a QMC block 102output, and/or a power amplifier 105 output through a feedback coupler106 which feeds an RF down converter 107 which feeds a feedback ADC 108.The pre-distorter 101 may output a distortion compensated signal to theQMC block 102 which may in turn feed an output digital to analogconverter 103 that may output an analog version of the propagated signalto an RF up conversion facility 104 that may in turn feed the poweramplifier 105.

Pre-distorter Block

Referring to FIGS. 1 and 2 a pre-distorter block 101 applies anon-linear function to achieve a goal of cancelling the distortionintroduced by an RF power amplifier 105. A portion of the details of anembodiment of the pre-distorter block are further illustrated in FIG. 2.

The pre-distorter 101 exemplary details shown in FIG. 2 include aplurality of delay blocks 202 that each capture a time-delay replica ofthe input signal, a plurality of unique look-up tables 201 that areconnected to the input signal and to the output of each delay block 202,and a summing point 203 that performs a function, such as a summation,of the outputs of each look-up table.

The sampled digital input signal x_(i) is applied to the series of delayblocks 202 which have a delay T, which may be an arbitrary number ofsamples, but for clarity in the following analysis T will be assumed tobe a 1 sample delay. In addition, a value of T may be different for eachindividual delay block 202. A total of Q−1 delayed replicas of the inputsignal are created where Q is referred to as the memory depth of thepre-distorter 101. A typical embodiment would require a Q value in therange from two to four. The input signal x_(i) and the delayed replicasx_(i−1), x_(i−2), x_(i−3) etc. are each applied to a LUT entity 201. TheLUT entity 201 applies a complex gain scaling dependent upon themagnitude of the input into the LUT entity. More specifically the LUTentity applies complex gain scaling according to which one of M discretemagnitude bands that the input signal falls within. FIG. 3 illustratesan embodiment of the LUT entity 201.

In order to define mathematically the LUT entity and to aid the latterdescription of the digital pre-distortion (DPD) estimation algorithm wedefine the following general function:

$\begin{matrix}{{\beta(w)}_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} w_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}} \leq {w_{i}} < M_{b + 1}} \\0 & {otherwise}\end{matrix} \right.} & (1)\end{matrix}$

In other words if w_(i), is in magnitude band b the function returns 1and otherwise returns 0. This is similar to a Kronecker Delta used topluck values from a matrix equation i.e.

$\begin{matrix}{x_{i} = {\sum\limits_{j}^{\;}\;{\delta_{i,j}x_{j}}}} & (2)\end{matrix}$

The behaviour of the LUT entity can be described as follows where r_(i)is the complex input to the LUT entity and s_(i) is the output:

$\begin{matrix}\left. s_{i}\rightarrow\left\{ \begin{matrix}{D_{0}r_{i}} & {{if}\mspace{14mu} r_{i}\mspace{14mu}{in}\mspace{14mu}{magnitude}\mspace{14mu}{band}\mspace{14mu} 0} \\{D_{1}r_{i}} & {{if}\mspace{14mu} r_{i}\mspace{14mu}{in}\mspace{14mu}{magnitude}\mspace{14mu}{band}\mspace{14mu} 1} \\{D_{2}r_{i}} & {{if}\mspace{14mu} r_{i}\mspace{14mu}{in}\mspace{14mu}{magntidude}\mspace{14mu}{band}\mspace{14mu} 2\mspace{14mu}{{etc}.}}\end{matrix} \right. \right. & (3)\end{matrix}$where D₀, D₁, D₂ etc are complex coefficients. In a typical embodimentthere will be 256 magnitude bands where m₀ is the threshold for thelowest magnitude band and m_(M-1) the threshold for the highestmagnitude band.

The operation of the LUT entity can be described by the followingequation making use of the function β previously defined:

$\begin{matrix}{s_{i} = {\sum\limits_{m = 0}^{M - 1}\;{D_{m}\beta_{i,m}r_{i}}}} & (4)\end{matrix}$

Using the definition of the LUT entity given by equation (4) theoperation of the pre-distorter block can be described as follows where qis the index of the delay term

$\begin{matrix}{z_{i} = {\sum\limits_{q = 0}^{Q - 1}\;{\sum\limits_{m = 0}^{M - 1}\;{D_{m,q}\beta_{{i - q},m}x_{i - q}}}}} & (5)\end{matrix}$

The LUT entity provides a means to provide an arbitrary complexnonlinear function in a manor which allows for straightforwardimplementation, such as implementation in an FPGA. Practicalexperimentation has shown the noise floor of the transmitter output isdependent upon the number of magnitude bands M. An implementation with256 magnitude bands has been shown to have acceptable noise performanceto satisfy typical wireless communications standards.

In a typical embodiment the pre-distorter block will be implemented as areal time entity within an FPGA. For example in a typical WCDMA or LTEapplication the input signal x_(i) and the output signal z_(i) wouldboth be sampled at 122.88MSPS.

The structure detailed in FIG. 2 has the potential to provide a timevariant non-linear function as is required to pre-distort a poweramplifier including memory effects and the structure lends itself toefficient logic implementation, such as an FPGA implementation.

In addition, the structure stores the maximum calculated magnitude indexin a register which can be read or reset at any time by the updatecontrol process. This can be used to indicate the dynamic range ofsignal x_(i) which is important for setting a trigger level when thesystem is capturing samples.

QMC

The output of the pre-distorter block z_(i) is passed to a QMC block 102which outputs the signal q_(i). The QMC block corrects for the errorsintroduced if a direct complex to RF up-conversion is utilised within104. It is well understood that practical complex to RF up-conversionsuffer from a number of imperfections which include LO-RF leakage, I andQ gain imbalance and imperfect phase offset between the I and Q LOsignals. If the RF signal is considered in complex enveloperepresentation i.e., as a phasor at the fundamental RF frequencymultiplied by a base-band complex waveform, then LO-RF leakage isequivalent to a complex dc offset, I and Q gain imbalance is equivalentto gain delta between the real and imaginary paths and imperfectquadrature balance is equivalent to cross talk between the real andimaging data. The structure illustrated by FIG. 4 is well understood tobe able to provide a compensating effect for the errors introduced inthe direct conversion up-converter by providing equal but oppositeimperfections to those in the direct modulator thereby cancelling outthe imperfections of the modulator. The function of the QMC block can bedescribed by the following equations:Re(q _(i))=(a ₀ Re(z _(i))+a ₁ Im(z _(i))+a ₂)  (6)Im(q _(i))=(b ₀ Im(z _(i))+b ₁ Re(z _(i))+b ₂)  (7)where the coefficients a₀, a₁, a₂, b₀, b₁, b₂ are provided by theestimator block 110 in order to compensate for the characteristics ofthe direct RF up-converter. As per the pre-distorter block 101 the QMCblock in a typical embodiment will be implemented within an FPGA andwill operate in a real time manor at the same sampling rate as thepre-distorter block 101.RF Signal Processing

The output of the QMC block q_(i) is processed by a digital to analogueconverter 103. If the RF up-converter 104 uses a direct to RF approach acomplex digital to analogue converter will be required. The analoguesignal from the DAC 103 is converted to RF by the RF up-conversion block104. The RF-up conversion block may use an IF based architecture or adirect architecture. If an IF based architecture is used a mixingprocess will be required in the digital transmit chain immediately priorto the transmit DAC 103 in order to convert the complex base-band signalto a real IF signal at an appropriate frequency prior to digital toanalogue conversion. The pre-distorter block 101 when operating on theinput signal x_(i) applies a non-linear function which will addsdistortion to x_(i), the additional distortion occupies a spectralbandwidth wider than the original transmit signal x_(i). Therefore theRF Up-Conversion block 104 can be optimised to ensure it can process thewider signal bandwidth associated with z_(i) as opposed to the inputsignal x_(i) with acceptable impairments in terms of phase and amplitudelinearity across the bandwidth of z_(i).

The output of the RF up-conversion block 104 is passed to the RF poweramplifier. A portion of the power amplifier RF output is coupled usingthe coupler block 106 to provide a feedback signal to allow optimizationof the pre-distortion and QMC systems. The RF feedback signal isprocessed by the RF down-conversion block 107 in order to convert the RFfeedback signal either to a complex base-band representation or suitablylow IF frequency to allow direct digital sampling. In a similar manor tothe RF up-converter block 104 the RF down-converter shall supportsufficient bandwidth to allow accurate capturing of the power amplifierdistortion. The output of the RF Down-conversion block 107 is processedby an ADC 108 in order to create the digitized feedback signal y_(i).

Capture Block

The capture block 109 is illustrated in FIG. 5. It operates on twosignals, the first signal is either the output from the pre-distorterblock z_(i) or the output from the QMC block q_(i), the second signal isalways the feedback signal y_(i) defined as the signal immediatelyfollowing the feedback receiver ADC 108. The function of the captureblock is to store a set of samples of z_(i) or q_(i) and a correspondingset of feedback samples y_(i) when triggered, where the trigger isgenerated by comparing the modulus of x_(i) against a thresholdcapture_threshold provided by the estimator block. The modules of x_(i)is already calculated in real time in the pre-distorter block by 301.Note that in an example deployment, such as an FPGA embodiment, themodulus of x_(i) will be calculated by a CORDIC implementation with anappropriate number of iterations.

In order to coarsely account for the time delay between the signalsz_(i) or q_(i) and signal y_(i), the signals z_(i) or q_(i) are passedthough a FIFO structure with a programmable delay D 501 prior to beingapplied to the dual-port RAM 506, where D is selected to approximatelycompensate for the delay in the path from the input to 102 to thefeedback ADC 108 output. If the modulus of x_(i) is greater thancapture_threshold then the comparator 502 will generate a logic 1, whichwe refer to as a trigger. The trigger is passed to a delay block 503which delays the signal by D−32 samples, ensuring that the sample whichgenerates the trigger will appear within the samples that are captured,approximately 32—P samples form the start, where P is a processing delaydue to the time taken for the samples to propagate from point x_(i) topoint z_(i) or q_(i). The number 32 is chosen to ensure that the peakwhich caused the trigger event will appear in the capture, and assumes Ptakes a value of less than 16. In practice the number should be chosento ensure that when P is subtracted the remainder falls within and nearthe start of the captured samples.

A high output from 503 starts a counter 504 which increments the addressfield of the dual-port RAMs 506 and 507 so that the delayed samples ofsignals z_(i) or q_(i) are written sequentially into the dual-port RAM506 and the samples of signal y_(i) are written sequentially into thedual-port RAM 507 after y_(i) is filtered by a moving average filter 505optimised to remove any DC term on the signal y_(i). In a typicalembodiment the dual-port RAM 506 associated with z_(i) or q_(i) shallstore 1K complex samples, the dual-port RAM 507 stores 2 k real samplesassuming y_(i) is in real format and sampled at twice the sampling rateof x_(i). The contents of the dual-port RAM 506 following successfultrigger is a consecutive series of samples of z_(i) or q_(i) namedz_(1:N) or q_(1:N) where N is the total number of samples, i.e., thedepth of the dual-port RAM 506. The contents of the dual-port RAM 507following successful trigger is a consecutive series of samples of y_(i)named y_(1:2N) where 2N is the total number of samples, i.e. the depthof the dual-port RAM 507. The estimator block may access both dual-portRAM's 506 and 507 in order to read z_(1:N) or q_(1:N) and y_(1:2N).

In general with any digital pre-distortion technique it is desirable tooptimize the pre-distorter using a data set which contains samplesdistributed across the full dynamic range of the PA. In addition it isdesirable that the data set contains sufficient samples in each regionof the PA characteristic to provide an averaging effect to overcomenoise on the feedback signal y_(i). However a typical CDMA or OFDMsignal used in wireless communication standards has a Gaussiandistribution of instantaneous power per sample, i.e., the very highestpower samples and lowest power samples occur infrequently, most samplesare located near the average value. In terms of pre-distortionperformance it is particularly desirable to implement a technique toensure a dataset can be captured which include sufficient high powersamples. It has been experimentally shown that simply capturing a 1K setof continuous samples is unlikely to provide sufficient high powersamples. The simplest and common approach to solve this issue is simplyto capture a much larger set of continuous samples such as 64K set ofcontinuous samples. However this places a requirement to support a largememory which is undesirable for resource limited deployments, such as anFPGA implementation. In order to resolve this issue an enhancement tothe system is provided for the case when the estimator wants a higherconcentration of samples with large magnitudes to populate the upperestimation bands. In this case the 1K capture is split into 8 sets ofdata each 128 samples in length. The first set will be populated whencapture_threshold is exceeded, and the maximum magnitude in this data isthen set as capture_threshold for the next capture. This continues forall 8 sets, at which point the buffers will contain 8 sets of data, eachcontaining sample peaks of increasing magnitude. If all 8 sets are notpopulated the capture process can be stopped and the number of availablesets is reported to the estimator allowing it to process the samplesfrom these sets.

Estimator Block

Referring to FIG. 6, the estimator block 110 may include a number ofprocesses which take the captured samples z_(1:N) or q_(1:N) andy_(1:2N) as an input and generates the coefficients for thepre-distorter (D_(m,q)) and QMC (a₀, a₁, a₂, b₀, b₁, b₂) blocks. Thissection may be implemented by an FPGA embedded microprocessor, and maybe supplemented by hardware blocks to perform specific functions asrequired dependent upon the update speed requirements. The differentprocesses are called sequentially and share the same microprocessor dataspace 601 which is used for storing the vectors and matrices which areused in the estimation calculations. The estimator block performs threefunctions' which are signal preparation 602, QMC estimation 603 andpre-distorter estimation 604 each described in the following sections.

Signal Preparation 602

Prior to the captured signals being used for coefficient estimation thez and y signals should be in the form of baseband complex samples, atthe same sampling rate, the same average magnitude and be aligned inboth time and phase. Optionally the average magnitudes may be differentto remove the need to scale the signals and speed up this process, inwhich case the necessary normalisation can be applied to the calculatedcomplex coefficients D_(b,q). To achieve this end the y signal may needto be converted to baseband complex samples if a real IF receiver isused by multiplying the real signal by a complex sinusoid of appropriatefrequency and the signal can be resampled to match the sample rate ofthe z signal.

The signals will usually be offset in time relative to each other andthis can be removed by shifting one of the signals in time. Shifting byan integer number of samples will normally give insufficient alignmentaccuracy so the signals may be interpolated to a sample rate which givesthe required accuracy prior to the shift, and then decimated back to theoriginal sampling rate afterwards. Rather than use a cross-correlationmethod such as is detailed in U.S. Pat. No. 6,798,843 to calculate thedelay offset, the system uses a simpler method that calculates thevariance between the two signals at each offset to determine if they arealigned. This entails firstly shifting one signal relative to the otherby whole samples to find the coarse delay figure, denoted by having thelowest variance figure. Then the signals are interpolated to the achievethe required accuracy and the process is repeated with the new signals,but it is only necessary to shift for a limited number of samples aroundthe existing coarse delay value to find the fine delay value, againdenoted by the minimum variance figure. In most systems this delayvaries slowly and so this calculation need only be performedinfrequently and the coarse and fine offsets stored for application tothe captured sample sets, saving time in the capture process. When asample capture is performed the coarse offset can be applied by a simpleshift operation and the fine offset applied by passing the signalthrough a FIR filter structure, which will have a different set ofcoefficients for each of the possible fine offset values.

Multiplying each complex sample in the z signal by the conjugate of itsequivalent sample in the y signal, and averaging this value across thesamples in the capture gives a complex vector containing the gain andphase difference between the two signals. This is normalised to a unitvector and multiplies every sample in the z signal to phase align itwith the y signal.

QMC Estimation 603

In the case where the transmitter uses a direct RF modulatorarchitecture the QMC estimation can be included to compensate for theunwanted effects of the RF modulator. The effects are primarily theintroduction of DC offsets to I or Q, linear scaling of I or Q, andphase changes in I or Q. These modes of distortion are compensateddirectly by calculating and applying the coefficients a and b to thetransmit signal.Re(q)=(a ₀ Re(x)+a ₁ Im(x)+a ₂)  (8)Im(q)=(b ₀ Im(x)+b ₁ Re(x)+b ₂)  (9)

If the QMC is to correct the modulator distortion then we need to findestimated values for signal q such that signal y=x, therefore we canrewrite the equations as:Re(q ^(est))=(a ₀ Re(y)+a ₁ Im(y)+a ₂)  (10)Im(q ^(est))=(b ₀ Im(y)+b ₁ Re(y)+b ₂)  (11)

We solve this equation using a least squares approach, based on acaptured set of N samples:

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}\;{{q_{i} - q_{i}^{est}}}^{2}}} & (12)\end{matrix}$

Giving:

$\begin{matrix}\left. {{Err} = {\sum\limits_{i = 0}^{N - 1}\;\left\{ {\left\{ {{a_{0}{{Re}\left( y_{i} \right)}} + {a_{1}{{Im}\left( y_{i} \right)}} + a_{2} - {{Re}\left( q_{i} \right)}} \right\}^{2} + \mspace{230mu}\left\{ {{b_{0}{{Im}\left( y_{i} \right)}} + {b_{1}{{Re}\left( y_{i} \right)}} + b_{2}} \right) - {{Im}\left( q_{i} \right)}} \right\}^{2}}} \right\} & (13)\end{matrix}$

The value for each of the a and b coefficients which minimizes the errorcan be found by setting the partial differential to zero for eachcoefficient, giving six equations:

$\begin{matrix}{{\frac{\partial{Err}}{\partial a_{0}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;{\left\{ {{a_{0}{{Re}\left( y_{i} \right)}} + {a_{1}{{Im}\left( y_{i} \right)}} + a_{2} - {{Re}\left( q_{i} \right)}} \right\}{{Re}\left( y_{i} \right)}}}}} & (14) \\{{\frac{\partial{Err}}{\partial a_{1}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;{\left\{ {{a_{0}{{Re}\left( y_{i} \right)}} + {a_{1}{{Im}\left( y_{i} \right)}} + a_{2} - {{Re}\left( q_{i} \right)}} \right\}{{Im}\left( y_{i} \right)}}}}} & (15) \\{{\frac{\partial{Err}}{\partial a_{2}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;\left\{ {{a_{0}{{Re}\left( y_{i} \right)}} + {a_{1}{{Im}\left( y_{i} \right)}} + a_{2} - {{Re}\left( q_{i} \right)}} \right\}}}} & (16) \\{{\frac{\partial{Err}}{\partial b_{0}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;{\left\{ {{b_{0}{{Re}\left( y_{i} \right)}} + {b_{1}{{Im}\left( y_{i} \right)}} + b_{2} - {{Re}\left( q_{i} \right)}} \right\}{{Re}\left( y_{i} \right)}}}}} & (17) \\{{\frac{\partial{Err}}{\partial b_{1}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;{\left\{ {{b_{0}{{Re}\left( y_{i} \right)}} + {b_{1}{{Im}\left( y_{i} \right)}} + b_{2} - {{Re}\left( q_{i} \right)}} \right\}{{Im}\left( y_{i} \right)}}}}} & (18) \\{{\frac{\partial{Err}}{\partial b_{2}} = {0\mspace{14mu}{gives}\text{:}}}{0 = {\sum\limits_{i = 0}^{N - 1}\;\left\{ {{b_{0}{{Re}\left( y_{i} \right)}} + {b_{1}{{Im}\left( y_{i} \right)}} + b_{2} - {{Re}\left( q_{i} \right)}} \right\}}}} & (19)\end{matrix}$

This set of simultaneous equations can now be solved to find the valuesof the a and b coefficients by conventional means. One approach is tocreate a matrix C, and writing

$\begin{matrix}{{R_{i} = {{Re}\left( y_{i} \right)}}{and}{I_{i} = {{{Im}\left( y_{i} \right)}\text{:}}}{c = \begin{pmatrix}{\sum R_{i}^{2}} & {\sum{R_{i}I_{i}}} & {\sum R_{i}} \\{\sum{R_{i}I_{i}}} & {\sum I_{i}^{2}} & {\sum I_{i}} \\{\sum R_{i}} & {\sum I_{i}} & N\end{pmatrix}}} & (20)\end{matrix}$

Giving:

$\begin{matrix}{{C\begin{pmatrix}a_{0} \\a_{1} \\a_{2}\end{pmatrix}} = \begin{pmatrix}{\sum{R_{i}{{Re}\left( q_{i} \right)}}} \\{\sum{I_{i}{{Re}\left( q_{i} \right)}}} \\{\sum{{Re}\left( q_{i} \right)}}\end{pmatrix}} & (21)\end{matrix}$

and:

$\begin{matrix}{{C\begin{pmatrix}b_{0} \\b_{1} \\b_{2}\end{pmatrix}} = \begin{pmatrix}{\sum{R_{i}{{Im}\left( q_{i} \right)}}} \\{\sum{I_{i}{{Im}\left( q_{i} \right)}}} \\{\sum{{Im}\left( q_{i} \right)}}\end{pmatrix}} & (22)\end{matrix}$

Combining these equations to create a complex equation, and definingcomplex coefficients c_(k)=a_(k)+jb_(k):

$\begin{matrix}{{\begin{pmatrix}{\sum R_{i}^{2}} & {\sum{R_{i}I_{i}}} & {\sum R_{i}} \\{\sum{R_{i}I_{i}}} & {\sum I_{i}^{2}} & {\sum I_{i}} \\{\sum R_{i}} & {\sum I_{i}} & N\end{pmatrix}\begin{pmatrix}c_{0} \\c_{1} \\c_{2}\end{pmatrix}} = \begin{pmatrix}{\sum{R_{i}q_{i}}} \\{\sum{I_{i}q_{i}}} \\{\sum q_{i}}\end{pmatrix}} & (23)\end{matrix}$

This can be solved using conventional methods such as Gaussianelimination with pivoting.

DPD Estimation 604

The estimator block is required to create an accurate inverse model ofthe PA behaviour. Other approaches such as those mentioned in U.S. Pat.Nos. 6,903,604 and 6,798,843 require large amounts of memory, whichmakes them unsuitable for many low cost or limited resourceimplementations, such as a small FPGA-based implementation where memoryresources are limited.

In order to describe the DPD estimation process the simplified blockdiagram detailed in FIG. 7 will be referenced. Using the terminologypreviously defined x is the original input signal, z is the output ofthe pre-distorter block, and y is the output of the power amplifier, ineach case they are assumed to be vectors consisting of a series ofcontinuous samples. For simplicity it is assumed in the followinganalysis that x, z and y are aligned in time and phase as detailed inSignal Preparation 602.

If a pre-distorter function is defined as D and the PA function as Athen in vector notation we can define the following:Z=D(x)  (24)y=A(z)  (25)

The goal of DPD estimation is to optimise the function D such that forsome real gain G:y=Gx  (26)

From equation 24 and 25 we can write:y=A(D(x))  (27)

The aim is to satisfy equation 26, i.e.:Gx=A(D(x))  (28)

Which is equivalent to:D(x)=A ⁻¹(Gx)  (29)

Now we have from definition 25 that:z=A ⁻¹(y)  (30)

From equation 29 the pre-distorter function D must have the samefunctional form as A⁻¹. The pre-distorter function D has been previouslydefined by equation (5) repeated below for clarity:

$\begin{matrix}{z_{i} = {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{m = 0}^{M - 1}{D_{m,q}\beta_{{i - q},m}x_{i - q}}}}} & (31) \\{\beta_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} P_{b}} \leq {x_{i}} < P_{b + 1}} \\0 & {otherwise}\end{matrix} \right.} & (32)\end{matrix}$

This is equivalent to assuming the same functional form for theamplifier inverse A⁻¹, the differences are in the value for thecoefficients and for the modulus bins. From this assumption and (30) wecan write:

$\begin{matrix}{z_{i} = {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{m = 0}^{M - 1}{D_{m,q}\beta_{{i - q},m}y_{i - q}}}}} & (33) \\{\beta_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}} \leq {y_{i}} < M_{b + 1}} \\0 & {otherwise}\end{matrix} \right.} & (34)\end{matrix}$

Now if the pre-distortion has linearised the equations we usey_(i)=Gx_(i) to give:

$\begin{matrix}{z_{i} = {\sum\limits_{m = 0}^{M - 1}{\sum\limits_{q = 0}^{Q - 1}{{\hat{D}}_{m,q}{Gx}_{i - q}\beta_{{i - q},m}}}}} & (35) \\{\beta_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}} \leq {{Gx}_{i}} < M_{b + 1}} \\0 & {otherwise}\end{matrix} \right.} & (36)\end{matrix}$i.e. we have G A_(m,q)=D_(m,q) and

${\frac{1}{G}M_{b}} = P_{b}$where G is the gain.

Considering equation (33) as z_(i) and y_(i) are knows we can use leastsquares to find a set of coefficients {circumflex over (D)}_(m,q) tominimize the error between the actual z_(i) and estimated z_(i)

Although it would be possible to find the coefficient set {circumflexover (D)}_(m,q) using a least squares approach, as previously discussedthe number of magnitude bins M is typically 256, and the Q value canrange from 1 to 4, therefore it requires the solution of a M.Q set oflinear equations which is impractical for low cost and/or low powerimplementations where the resources which can be reasonably be allocatedare limited, such as within an FPGA implementation. To resolve thisproblem two novel approaches are proposed which achieve acceptablepre-distorter accuracy while significantly reducing the requiredmicroprocessor memory requirements and solution times within acceptablebounds. FIG. 14 illustrates the typical characteristics of poweramplifier gain (y_(i)/z_(i)) verses output power on a sample per samplebasis for a typical wireless infrastructure power amplifier

It is shown that although the pre-distorter may require 256 magnitudebands to achieve sufficiently low quantization noise the PAcharacteristic can be well approximated with far fewer magnitude bandsas the gain characteristic varies relatively smoothly verses outputpower.

Therefore the following two approaches are proposed:

(1) Define a simplified version of the pre-distortion function D,referred to as D′ which has B magnitude bands, where B is much less thanM. Therefore we can write in a similar manor to equation (33):

$\begin{matrix}{z_{i} = {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{b = 0}^{B - 1}{D_{b,q}^{\prime}\beta_{{i - q},b}y_{i - q}}}}} & (37)\end{matrix}$

We can use a least squares approach to find the best set of coefficients{circumflex over (D)}′_(b,q). As B<M we use linear interpolation toderive {circumflex over (D)}_(m,q) from {circumflex over (D)}′_(b,q)where the linear interpolation is applied independently for each valueof q as follows:

$\begin{matrix}{{\hat{D}}_{{{2{Mb}} + m},q} = \left\{ \begin{matrix}{\hat{D}}_{0,q}^{\prime} & {{{if}\mspace{14mu} b} = {{0\mspace{14mu}{and}\mspace{14mu} m} < 0}} \\{\hat{D}}_{b,q}^{\prime} & {{{if}\mspace{14mu} b} = {{B - {1\mspace{14mu}{and}\mspace{14mu} m}} \geq 0}} \\{{\hat{D}}_{b,q}^{\prime} + {\frac{m}{2M}\left( {{\hat{A}}_{{b - 1},q} - {\hat{A}}_{b,q}} \right)}} & {{{if}\mspace{14mu} - M} < m < 0} \\{{\hat{D}}_{b,q}^{\prime} + {\frac{m}{2M}\left( {{\hat{A}}_{{b + 1},q} - {\hat{A}}_{b,q}} \right)}} & {{{if}\mspace{14mu} 0} \leq m < M}\end{matrix} \right.} & (38)\end{matrix}$

Practical experiments have shown a B value of 16-32 gives goodpre-distortion performance. The memory space required and computationaltime is much reduced by solving B.Q linear equations following by linearinterpolation for each q value, as opposed solving directly B.M linearequations. Such reduced memory and computational requirements may beparticularly suitable for deployment within an FPGA.

(2) Derive a modified set of equations which fit a piecewise-continuousset of straight line segments which can be solved in an identical leastsquares error minimisation method.

The following sections describe in further detail the two approaches,approach (1) will be referred to as Discrete DPD estimation, approach(2) Linear DPD estimation.

Discrete DPD Estimation

As previously described the estimation process has been split into twosteps, first optimizing a pre-distorter function with B magnitude bands(typically 16-32) to find {circumflex over (D)}′_(b,q), and subsequentlyperforming a linear interpolation for each q values to obtain{circumflex over (D)}_(m,q).

The coefficients {circumflex over (D)}′_(b,q) could be found using aleast squares approach where a batch of z and y samples, typically 16000samples, can be used to find the B.Q coefficients. Therefore one mustsolve an over determined matrix equation with many more single equationsthan actual coefficients. This approach applies to a polynomialpre-distorter function as outlined in [1] of the pre-distorter blockdescription. However this approach requires the formation of a matrixwith B*Q*N elements, typically 16*4*16000 elements, and assuming eachelement can be held using 32 bits, this will require more than 32 Mbytesof memory space, much more than would normally be available in a lowcost/low power deployment, such as one associated with a microprocessorembedded within an FPGA.

The proposed method shows that by use of appropriate substitutions, thedimensions of the matrix and vectors used to form the equation can bereduced and made independent of N. This has two major advantages whichare firstly that the reduced memory requirements makes achieving ahighly efficient and effective embodiment while keeping cost and powerlow feasible, such as may be suitable for implementation on amicroprocessor embedded in an FPGA, and secondly that the number ofsamples used to estimate can be increased to improve averaging leadingto a more accurate estimation without increasing the memory requirementsor computation time.

The first step of the estimation process is to estimate {circumflex over(D)}′_(b,q) in the least squares sense which leads to the followingdefinitions:

$\begin{matrix}{\frac{\partial{Err}}{\partial D_{n,m}} = 0} & (40)\end{matrix}$

The partial differentials are zero at the point of minimum error i.e.

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{b = 0}^{B - 1}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}y_{i - q}\beta_{{i - q},b}}}}}}^{2}}} & (39)\end{matrix}$

Giving:

$\begin{matrix}{0 = {\sum\limits_{i = 0}^{N - 1}{\left\{ {z_{i} - {\sum\limits_{b = 0}^{B - 1}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}y_{i - q}\beta_{{i - q},b}}}}} \right\}\overset{\_}{y_{i - n}}\beta_{{i - n},m}}}} & (41)\end{matrix}$

Or equivalently:

$\begin{matrix}{{\sum\limits_{i = 0}^{N - 1}{z_{i}\overset{\_}{y_{i - n}}\beta_{{i - n},m}}} = {\sum\limits_{b = 0}^{B - 1}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}\left\{ {\sum\limits_{i = 0}^{N - 1}{y_{i - q}\beta_{{i - q},b}\overset{\_}{y_{i - n}}\beta_{{i - n},m}}} \right\}}}}} & (42)\end{matrix}$

Writing:

$\begin{matrix}{K_{b,q,m,n} = {\sum\limits_{i = 0}^{N - 1}{y_{i - q}\beta_{{i - q},b}\overset{\_}{y_{i - n}}\beta_{{i - n},m}}}} & (43)\end{matrix}$

and:

$\begin{matrix}{H_{m,n} = {\sum\limits_{i = 0}^{N - 1}{z_{i}\overset{\_}{y_{i - n}}\beta_{{i - n},m}}}} & (44)\end{matrix}$

Which gives:

$\begin{matrix}{H_{m,n} = {\sum\limits_{b = 0}^{B - 1}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}K_{b,q,m,n}}}}} & (45)\end{matrix}$

Combining the indices by setting: μ=Bq+b and v=Bm+n and using bold fontto show using the new indexing scheme:

$\begin{matrix}{H_{v} = {\sum\limits_{\mu}{D_{\mu}^{\prime}K_{\mu,v}}}} & (46)\end{matrix}$which is a standard linear equation problem which can be solved usingconventional methods such as Gaussian elimination with pivoting to aidnumerical stability.

The square matrix K contains (B×Q)² elements and vectors H and D′ bothhave BxQ elements. Taking our typical values of B=16 and Q=4 andassuming each element can be held using 32 bits, this will require 132Kbytes of memory space which is only 0.4% of the memory required by theprevious approach and likely small enough to provided by the limitedmemory resources available in a FPGA or similar deployment. Thecalculation time for this approach depends on the choice of B and Q withorder O(2/3(BQ)³)).

The other key advantage of this approach is that each element of H and Kis a summation, meaning that when each sample is consumed it can simplybe accumulated with values from previous samples. This means thatinstead of requiring one large set of samples for z_(i) and y_(i) with atypical value of N in the range 16384-32768 we can use 16-32 sets ofcaptures z_(1:N) and y_(1:N) with a value of N of 1024 to populate H andK. This reduces the size of the capture buffers which reduces themaximum memory requirements, and also gives great flexibility in thenumber of samples that are used for estimation, allowing a trade offbetween increased accuracy from more averaging or faster update timesdue to having to collect fewer samples.

The solution to the above equations provides the complex coefficientsD′_(b,q) corresponding to the estimation bands B, which are thenlinearly interpolated to provide the values for the magnitude bands aspreviously described by equation (38).

Linear DPD Estimation

The function β_(i,b) used in the approach outlined in the Discrete DPDEstimation section is used to place the samples y_(i) into one of theestimation bands b. Once placed in an estimation band all samples inthat band are treated as having the same magnitude for the purposes ofthe calculation, and that magnitude is equal to the mean of the upperand lower magnitude bounds for that estimation band.

One limitation of this approach is that it takes no account of thedistribution of the magnitudes of the samples which are placed into agiven estimation band. In fact, a typical signal will have a largernumber of samples falling into the bands in the middle than at eitherthe higher or lower magnitude ends, and as a result the bands at eachend tend to contain a distribution of samples whose magnitudes areskewed towards the upper bound in the lower estimation bands and towardsthe lower bound in the upper estimation bands. This means that mean ofthe upper and lower magnitude bounds of the band is not an accuraterepresentation of the mean magnitude of the samples used to calculatethe coefficient.

A novel improvement is to define a pre-distortion function as apiecewise continuous mapping of input to output signal. Instead ofplacing a sample in a single estimation band thereby associating it withthe central magnitude value of that band, we consider the impact of thesample on the two estimation bands between which it falls.

This may require that we add a weighted offset O_(b,q) which depends onhow far into estimation band b sample y_(i) lies, so rewriting equation37:

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{b = 0}^{B - 1}{y_{i - q}\beta_{{i - q},b}\left\{ {D_{b,q}^{\prime} + {O_{b,q}\left( {{y_{i - q}} - M_{b}} \right)}} \right\}}}}}}^{2}}} & (47)\end{matrix}$

where M_(b) is the lower bound of estimation band b. We choose O valuesso there are no discontinuities between the coefficient value calculatedfor one estimation band and the next:D′ _(b,q) +O _(b,q)(M _(b+1) −M _(b))=D′ _(b+1,q)  (48)

I.e.

$\begin{matrix}{O_{b,q} = \frac{D_{{b + 1},q}^{\prime} - D_{b,q}^{\prime}}{M_{b + 1} - M_{b}}} & (49)\end{matrix}$

We therefore have to find Q(B+1) coefficients.

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{{z_{i} - {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{b = 0}^{B - 1}{y_{i - q}\beta_{{i - q},b}\left\{ {D_{b,q}^{\prime} + {\left( \frac{D_{{b + 1},q}^{\prime} - D_{b,q}^{\prime}}{M_{b + 1} - M_{b}} \right)\left( {{y_{i - q}} - M_{b}} \right)}} \right\}}}}}}2}}} & (50)\end{matrix}$

Which can be re-arranged to give:

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{q = 0}^{Q - 1}{\sum\limits_{b = 0}^{B}{y_{i - q}\rho_{i,q,b}D_{b,q}^{\prime}}}}}}^{2}}} & (51)\end{matrix}$

where

$\begin{matrix}{\rho_{i,q,b} = \left\{ \begin{matrix}{\beta_{{i - q},0}\left( \frac{M_{1} - {y_{i - q}}}{M_{1} - M_{0}} \right)} & {{{if}\mspace{14mu} b} = 0} \\{{\beta_{{i - q},b}\left( \frac{M_{b + 1} - {y_{i - q}}}{M_{b + 1} - M_{b}} \right)} + {\beta_{{i - q},{b - 1}}\left( \frac{{y_{i - q}} - M_{b - 1}}{M_{b} - M_{b - 1}} \right)}} & {{{if}\mspace{14mu} 0} < b < B} \\{\beta_{{i - q},{B - 1}}\left( \frac{{y_{i - q}} - M_{B - 1}}{M_{B} - M_{B - 1}} \right)} & {{{if}\mspace{14mu} b} = B}\end{matrix} \right.} & (52)\end{matrix}$

Again estimate the coefficients D′_(b,q) by minimising the errorfunction, the partial differentials are zero at the point of minimumerror i.e.

$\begin{matrix}{\frac{\partial{Err}}{\partial D_{n,m}^{\prime}} = 0} & (53)\end{matrix}$

Applying this to equation 50 gives:

$\begin{matrix}{0 = {\sum\limits_{i = 0}^{N - 1}{\left\{ {z_{i} - {\sum\limits_{b = 0}^{B}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}y_{i - q}\rho_{i,q,b}}}}} \right\}\overset{\_}{y_{i - n}}\rho_{i,n,m}}}} & (54)\end{matrix}$

I.e.

$\begin{matrix}{{\sum\limits_{i = 0}^{N - 1}{z_{i}\overset{\_}{y_{i - n}}\rho_{i,n,m}}} = {\sum\limits_{b = 0}^{B}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}{\sum\limits_{i = 0}^{N - 1}\left( {{y_{i - q}\rho_{i,q}},{b\overset{\_}{y_{i - n}}\rho_{i,n,m}}} \right)}}}}} & (55)\end{matrix}$

By using suitable substitutions we can write:

$\begin{matrix}{{K_{b,q,m,n} = {\sum\limits_{i = 0}^{N - 1}{y_{i - q}\rho_{i,q,b}\overset{\_}{y_{i - n}}\rho_{i,n,m}}}}{H_{m,n} = {\sum\limits_{i = 0}^{N - 1}{z_{i}\overset{\_}{y_{i - n}}\rho_{i,n,m}}}}} & (56)\end{matrix}$

We have:

$\begin{matrix}{H_{m,n} = {\sum\limits_{b = 0}^{B}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}K_{b,q,m,n}}}}} & (57)\end{matrix}$

Combining the indices by setting: μ=Bq+b and v=Bm+n and using bold fontto show using the new indexing scheme:

$\begin{matrix}{H_{v} = {\sum\limits_{\mu}{D_{\mu}^{\prime}K_{\mu,v}}}} & (58)\end{matrix}$which is a standard linear equation problem which can be solved usingconventional methods such as Gaussian elimination with pivoting to aidnumerical stability. Memory requirements and calculation time are thesame as for the discrete DPD approach with the exception that we are nowhave B+1 estimation bands.

Having found by least squares error minimisation the best coefficientsD′_(μ) which satisfy:H_(v)=Σ_(μ)D′_(μ)K_(μ,v)  (59)

we then un-pick the equations to recover D′_(b,q) where:D′ _(b,q) =D′ _(μ) where μ=Bq+b  (60)

Recall that the coefficients D′_(b,q) are used to define apiecewise-continuous curve formed from straight line segments.z _(i)=Σ_(q)Σ_(b) y _(i−q)β_(i−q,b) {D′ _(b,q) +O _(b,q)(|y _(i−q) |−M_(b))}  (61)

And

$\begin{matrix}{\beta_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}} \leq {y_{i}} < M_{b + 1}} \\0 & {otherwise}\end{matrix} \right.} & (62)\end{matrix}$

The requirement for continuity gives us that:

$\begin{matrix}{O_{b,q} = \frac{D_{{b + 1},q}^{\prime} - D_{b,q}^{\prime}}{M_{b + 1} - M_{b}}} & (63)\end{matrix}$

And M_(b+1)−M_(b) is the width of the modulus bin.

If we wish to determine the values for a finer granularity of modulusbin—e.g., so fine that we can treat the modulus values as constant withacceptable error—we interpolate as follows.

Suppose we divide each modulus bin into N equal parts. Then:

$\begin{matrix}{z_{i}{\underset{q}{= \sum}{\sum\limits_{b}{\sum\limits_{n = 0}^{N - 1}{y_{i - q}\beta_{{i - q},{{Nb} + n}}\left\{ {D_{b,q}^{\prime} + {O_{b,q}\left( {M_{b} + {\frac{n}{N}\left( {M_{b + 1} - M_{b}} \right)} - M_{b}} \right)}} \right\}}}}}} & (64)\end{matrix}$

And

$\begin{matrix}{\beta_{i,{{Nb} + n}} = \left\{ \begin{matrix}1 & {{{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}} + {\frac{n}{N}\left( {M_{b + 1} - M_{b}} \right)}} \leq {y_{i}} < {M_{b} + {\frac{n + 1}{N}\left( {M_{b + 1} - M_{b}} \right)}}} \\0 & {otherwise}\end{matrix} \right.} & (65)\end{matrix}$

which simplifies down to:

$\begin{matrix}{z_{i} = {\sum\limits_{q}{\sum\limits_{b}{\sum\limits_{n = 0}^{N - 1}{y_{i - q}\beta_{{i - q},{{Nb} + n}}\left\{ {D_{b,q}^{\prime} + {\frac{n}{N}\left( {D_{{b + 1},q}^{\prime} - D_{b,q}^{\prime}} \right)}} \right\}}}}}} & (66)\end{matrix}$

Or equivalently if we only want a double summation, using the flooroperator └w┘ we have:

$\begin{matrix}{z_{i} = {\sum\limits_{q}{\sum\limits_{b = 0}^{NB}{y_{i - q}\beta_{{i - q},b}\left\{ {D_{{\lfloor{b/N}\rfloor},q}^{\prime} + {\frac{n}{N}\left( {D_{{{\lfloor{b/N}\rfloor} + 1},q}^{\prime} - D_{{\lfloor{b/N}\rfloor},q}^{\prime}} \right)}} \right\}}}}} & (67) \\{\beta_{i,b} = \left\{ \begin{matrix}1 & {{{if}\mspace{14mu} y_{i}\mspace{14mu}{such}\mspace{14mu}{that}\mspace{14mu} M_{b}^{(n)}} \leq {y_{i}} < M_{b}^{({n + 1})}} \\0 & {otherwise}\end{matrix} \right.} & (68)\end{matrix}$

Where

$\begin{matrix}{M_{b}^{(n)} = {M_{\lfloor{b/N}\rfloor} + {\frac{n}{N}\left( {M_{{\lfloor{b/N}\rfloor} + 1} - M_{\lfloor{b/N}\rfloor}} \right)}}} & (69)\end{matrix}$

Note that this is the functional form of the pre-distorter, equation (69so we have identified the pre-distorter coefficients D_(m,q)

Discrete DPD Estimation with Different Numbers of Estimation Bands inEach

Delay Term

In some cases where memory resources are extremely constrained it may bebeneficial to use less estimation bands in the delay taps as they willhave less effect on the model accuracy than the primary tap. Shown hereis a method for achieving this. It should be noted that this can beapplied equally well to the Linear DPD Estimation if required.

Having different numbers of bands per taps gives a modified form ofequation 37:

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{b = 0}^{B^{(q)} - 1}{\sum\limits_{q = 0}^{Q - 1}{D_{b,q}^{\prime}y_{i - q}\beta_{{i - q},b}^{(q)}}}}}}^{2}}} & (70)\end{matrix}$

where the function β_(i,b) ^((q)) gives the power band on the q^(th)tap:

$\begin{matrix}{\beta_{i,b}^{(q)} = \left\{ \begin{matrix}1 & {{if}\mspace{14mu} y_{i}\mspace{14mu}{in}\mspace{14mu}{power}\mspace{14mu}{band}\mspace{14mu} b\mspace{14mu}{of}\mspace{14mu}{the}\mspace{14mu} q^{th}\mspace{14mu}{tap}} \\0 & {otherwise}\end{matrix} \right.} & (71)\end{matrix}$

Suppose we choose equally spaced estimation bands and the number ofbands being a multiple of a power of 2—so on the primary tap we have aband size of K. This therefore gives:

B bands on the primary tap of size K

B/2 bands on the second tap of size 2K

B/4 bands on the third tap of size 4K

If we calculate the β_(i,q) function for the bands on the primary tapthen we have:

$\begin{matrix}{\beta_{i,b}^{(q)} = \left\lfloor \frac{\beta_{i,b}}{2^{q}} \right\rfloor} & (72)\end{matrix}$

For example if given certain memory constraints we may have 4 taps with32, 16, 8 and 4 bands on them. This gives 60 coefficients to solverather than 128 if we had to have 32 bands on all taps. As a result,memory requirements and calculation time are the similar as for thediscrete DPD approach but we replace BQ with the reduced number ofcoefficients we are finding.

Fast DPD Estimation

Normally a PA model which does not consider delayed versions of sampleswill achieve the majority of the correction performance, perhaps 80-90%when compared to a model which does compensate for the PA memory. Theadvantage of this type of approach is that the problem is hugelysimplified as it no longer includes a matrix inversion to generate thecoefficients, meaning that it requires much less memory for the datastructures and computation time is massively reduced. This can thereforebe used when the update time of the estimation is critical such as whenthe DPD is started up and several iterations need to be completed veryquickly.

The equation for which we need to find an estimated solution is adaptedfrom equation 37 by setting Q=1, so the error equation we need tominimise is:

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{b = 0}^{B - 1}{D_{b}^{\prime}y_{i}\beta_{i,b}}}}}^{2}}} & (73)\end{matrix}$

The partial differentials are zero at the point of minimum error i.e.

$\begin{matrix}{\frac{\partial{Err}}{\partial D_{n,m}} = 0} & (74)\end{matrix}$

Giving:

$\begin{matrix}{0 = {\sum\limits_{i = 0}^{N - 1}{\left\{ {z_{i} - {\sum\limits_{b = 0}^{B - 1}{D_{b}^{\prime}y_{i}\beta_{i,b}}}} \right\}\overset{\_}{y_{i}}\beta_{i,n}}}} & (75)\end{matrix}$

Note that, by definition of β_(i,b) we have that β_(i,b)β_(i,n) is onlynon-zero when b=n (since a sample value can only be in one estimationband) so equation 56 gives:

$\begin{matrix}{0 = {\sum\limits_{i = 0}^{N - 1}{\left\{ {z_{i} - {D_{n}^{\prime}y_{i}}} \right\}\overset{\_}{y_{i}}\beta_{i,n}}}} & (76)\end{matrix}$

i.e.

$\begin{matrix}{{\sum\limits_{i = 0}^{N - 1}{z_{i}\overset{\_}{y_{i}}\beta_{i,n}}} = {D_{n}^{\prime}{\sum\limits_{i = 0}^{N - 1}{{y_{i}}^{2}\beta_{i,n}}}}} & (77)\end{matrix}$

As β_(i,b) is zero unless y_(i) is in estimation band b then this gives:

$\begin{matrix}{D_{n}^{\prime} = \frac{\sum\limits_{i\mspace{14mu}{s.t.\mspace{14mu} y_{i}}\mspace{14mu}{in}\mspace{14mu}{band}\mspace{14mu} n}{z_{i}\overset{\_}{y_{i}}}}{\sum\limits_{i\mspace{14mu}{s.t.\mspace{14mu} y_{i}}\mspace{14mu}{in}\mspace{14mu}{band}\mspace{14mu} n}{y_{i}}^{2}}} & (78)\end{matrix}$which is extremely simple and quick to solve. The data space requiredfor this approach is only 2B elements required to perform theaccumulations, which assuming B=16 and elements are of 32-bits we wouldneed just 128 bytes of memory space compared to 132 Kbytes for thediscrete DPD approach discussed in the Discrete DPD Estimation section.The calculation time required to solve this equation has a linearrelationship with B.System Control

A system control process, typically implemented in a soft coremicroprocessor, handles the sequencing and control of estimations forboth the pre-distortion and QMC functions. The PA response can beaffected by changes in RF power or frequency and temperature of the PAdevices. The ability of the system to generate an accurate model of theresponse can also be affected by the range of values and the level ofnoise present in the y and z signals used in the estimation. The task ofthe system control process is to manage the QMC and pre-distortionupdates with the intention of generating and maintaining the mostaccurate models under all operating conditions.

In order to maintain a good signal to noise ratio at the ADC input 108 avariable RF attenuator is usually included in the RF down-conversionblock. This means that if the average RF output power at the transmitteroutput is set to a low value the attenuation can be reduced to boost thesignal at the ADC input, and likewise when the average RF output poweris set to a high value the attenuation can be increased to prevent thesignal from exceeding the dynamic range of the ADC. To achieve asuitable signal level at the ADC a calibration process is included toset the attenuator at a level such that there is a fixed gain betweenthe digital signal sent to the DAC 103 and the digital signal receivedat the ADC 108. To do this the system uses captured data for the y and zsignals and calculates the difference in power between them, which isequivalent to the gain from 103 to 108. The system then calculates theadjustment to the attenuator value that will achieve the required fixedgain relationship and applies it to the attenuator. The calibrationmeasurement is then repeated until the gain is close to the desiredvalue.

If the RF gain between the output of the DAC 103 and the output of thePA 106 is changed, for example to set a different average RF poweroutput of the transmitter, then the PA will be exercised over adifferent power range and the calculated model of the pre-distorter willno longer be valid. Also, if this value changes while estimation is inprogress then the sample data used for the estimation will be corrupted.If the RF frequency is changed then this will also change the responseof the PA and mean the calculated model will be invalid. Under normaloperation these variables will be changed infrequently and at therequest of the process that manages the whole transmitter system. Forthis reason the DPD system provides the facility for this superiormanaging system to control its behaviour by selecting either singleestimations or an autonomous tracking mode. To assist in debug and testoperations the DPD system also provides access to many of its internaloperations individually and can report information and captured samplesfrom the system for external analysis.

Single estimations would normally be used when the superior controlleris changing the parameters of the transmitter system such as RFfrequency or gain. This prevents the DPD system from attemptingestimation while these parameters are being changed, and the superiorcontroller can then request that the DPD system performs one or moreestimation cycles once the parameter values are stable. Typically therequest would be for a fast estimation to allow rapid convergence beforeenabling the tracking mode to achieve a more accurate estimation oncethe transmitter is in a steady state. A typical implementation of thetop-level control loop is shown in FIG. 8. This shows the differentoptions that are available to the external system controller whichinclude a time alignment offset calculation 801, a QMC update 802, apre-distorter update 803, a debug operation 804, or entering thetracking loop 805. The debug operations are not detailed here but areincluded with the intention of providing external access to thevariables used in the estimation processes to assist in algorithmdevelopment and fault diagnosis. FIGS. 9, 10 and 11 detail the stepsinvolved in updating the time alignment offset calibration, the QMC andthe pre-distortion models.

Tracking mode would normally be used when the transmitter is set to aconstant RF frequency and the gain from the DAC 103 to the PA output 106is maintained at a constant value. In this mode the aim is to collectdata over the widest possible range of sample powers and maintain anaccurate model of the PA response at all times. The speed of estimationis less of a concern here as the assumption is that the PA responsevaries little over time. FIG. 12 shows a typical implementation of thetracking mode.

When the system enters this mode a number of estimation iterations arecalled for the QMC 1201 and the pre-distortion 1202 to reach a goodmodel of the PA response, after which the system will not update themodel unless there is evidence that an update is required. This evidencecan come from one of three sources, the most important of which is ameasure of the accuracy of the current model called the residual error1206. This is a figure of merit calculated by capturing a set of samplesfor the y and z signals, applying the calculated model to the y signalto give an estimate of the z signal, and then calculating the variancebetween this estimate and the true z signal.

$\begin{matrix}{{Err} = {\sum\limits_{i = 0}^{N - 1}{{z_{i} - {\sum\limits_{m = 0}^{M}{\sum\limits_{q = 0}^{Q - 1}{D_{m,q}\alpha_{i,m}y_{i - q}}}}}}^{2}}} & (79)\end{matrix}$

If the current model is accurate the figure will be small, if the modelis inaccurate and needs updating the figure is large. The system controlprocess regularly calculates the residual error and if it increasesabove a defined level 1207 one or more estimation cycles will be calledto improve the model.

The second source of evidence that can cause an update is the gain ofthe RF feedback path from the coupler 106 to the ADC 108. A change inthe gain of this path suggests that the ambient temperature in thetransmitter has changed and the calculated model may no longer beaccurate. The gain of the feedback path is controlled to maintain goodsignal level at the ADC input by an adjustable RF attenuator in the RFdown converter 107, the value of which is set by means of a calibrationprocedure 1203 mentioned previously. The control system calls thisrecalibration process regularly and watches for a change in thecalculated attenuation value 1205, indicating a significant temperaturechange. One or more estimation cycles will then be called to improve themodel.

The third source of evidence that can cause an update is the maximummagnitude of the digital baseband IQ samples that make up the x signal.If the magnitude of a sample exceeds the range over which the system hasestimated complex coefficients stored in the pre-distorter block look-uptables then the PA will be exercised over an area that has not beencharacterised in the calculated model. This can be detected by thecontrol system enabling the autocapture system with thecapture_threshold figure set to the maximum magnitude for which we havepreviously estimated 1204 and monitoring for a successful capture 1208.If a capture occurs the control system will call a subroutine to extendthe range of the pre-distortion model 1209 which is detailed in FIG. 13.The system will firstly align 1301 and consume 1302 the samples from theautocapture, before checking if there are sufficient samples in themagnitude bands for estimation 1303. If not the autocapture system isenabled again 1304 and providing more data can be captures 1305 the looprepeats until there is sufficient data for estimation 1306. Theresulting coefficients are then averaged with the existing coefficientsof the model 1307 to extend the upper range of magnitudes over which themodel is valid.

FIG. 14 illustrates a plot of data points of a radio frequency highpower amplifier instantaneous gain as a function of output power versusgain.

FIG. 15 illustrates the actual measured DPD performance using thediscrete DPD estimation approach with an actual power amplifier fordifferent models, both with B=32 but with Q=1 and Q=2. The resultsindicated the proposed discrete DPD estimation approach achieve usefullevel of power amplifier linearization as indicated by the spectralre-growth improvement.

FIG. 16 illustrates a system level application of an embodiment of theinvention in which a plurality of instances of the invention areassociated with RF amplifiers to form wireless network nodes 1602 thatare interconnected with wireless handsets 1604 (e.g. mobile phones) toform a wireless communication network.

The invention claimed is:
 1. A method comprising: taking datarepresentative of accuracy of a current distortion adjustment modelassociated with a pre-distortion facility for distortion-adjusting aradio frequency signal; taking data representative of accuracy of acandidate distortion adjustment model, the candidate adjustment modelbeing different from the current distortion adjustment model; andcomparing the data representative of accuracy of the current model tothe data representative of accuracy of the candidate model to determinea distortion adjustment model update action associated withdistortion-adjusting the radio frequency signal, wherein the datarepresentative of accuracy of the current model represents a comparisonof the radio frequency signal input to the pre-distortion facility andthe radio frequency output signal from the pre-distortion facility. 2.The method of claim 1, wherein the distortion adjustment model updateaction comprises updating a portion of at least one lookup table.
 3. Themethod of claim 1, wherein the distortion adjustment model update actioncomprises updating at least a portion of the current distortionadjustment model if the comparison indicates improved pre-distortionfacility accuracy if the update occurs.
 4. The method of claim 1,wherein the data representative of accuracy of the current modelrepresents a measure of distortion reduction of the radio frequencysignal processed with the current distortion adjustment model.
 5. Themethod of claim 1, wherein the data representative of accuracy of thecandidate model represents a measure of distortion reduction of arepresentative signal that is representative of the radio frequencysignal when the representative signal is processed with the candidatedistortion adjustment model.
 6. A system comprising: data representativeof accuracy of a current distortion adjustment model associated with apre-distortion facility for distortion-adjusting a radio frequencysignal; data representative of accuracy of a candidate distortionadjustment model, the candidate adjustment model being different fromthe current adjustment model; and the pre-distortion facility forcomparing the data representative of accuracy of the current distortionadjustment model to data representative of accuracy of the candidatedistortion adjustment model to determine a pre-distortion facilityupdate action, wherein the data representative of accuracy of thecurrent distortion adjustment model represents a comparison of the radiofrequency signal input to the pre-distortion facility and the radiofrequency signal output from the pre-distortion facility.
 7. The systemof claim 6, wherein the update action comprises updating a portion of atleast one lookup table.
 8. The system of claim 6, wherein the updateaction comprises updating at least a portion of the current distortionadjustment model if the comparison indicates improved pre-distortionfacility accuracy if the update occurs.
 9. The system of claim 6,wherein the data representative of accuracy of the current distortionadjustment model represents a measure of distortion reduction of theradio frequency signal processed with the current distortion adjustmentmodel.
 10. The system of claim 6, wherein the data representative ofaccuracy of the candidate distortion adjustment model represents ameasure of distortion reduction of a representative signal that isrepresentative of the radio frequency signal when the representativesignal is processed with the candidate distortion adjustment model. 11.A method comprising: taking data representative of accuracy of a currentdistortion adjustment model associated with a pre-distortion facilityfor distortion-adjusting a radio frequency signal; taking datarepresentative of accuracy of a candidate distortion adjustment model;and comparing the data representative of accuracy of the current modelto the data representative of accuracy of the candidate model todetermine a distortion adjustment model update action associated withdistortion-adjusting the radio frequency signal, wherein the datarepresentative of accuracy of the current model represents a comparisonof the radio frequency signal input to the pre-distortion facility andthe radio frequency signal output from the pre-distortion facility.